package com.itheima.myreflect2.Student.myvolatile;

/**
 * @program: Myset
 * @description:
 * @author: xuejingjing
 * @create: 2021-06-20 02:41
 **/
public class Demo {
    public static void main(String[] args) {
         Mythread1 mythread1 = new Mythread1();
         mythread1.setName("小路同学");
         mythread1.start();

         Mythread2 mythread2 = new Mythread2();
         mythread2.setName("小华同学");
         mythread2.start();

    }
}
